package demo3;

public class test2 {
    public static void main(String[] args) {

        Student s1 = new Student("张三",23);
        Student s2 = new Student("张三",23);

        boolean result1 = s1.equals(s2);
        System.out.println(result1);
    }
}
